package com.example.travel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.travel.domain.entity.UserSpot;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author : LinQingLiang
 * @file : UserSpotMapper.java
 * @Since : 2023/2/26 10:38
 */
@Mapper
public interface UserSpotMapper extends BaseMapper<UserSpot> {

    int deleteBySpotIds(@Param("spotIds") List<Integer> spotIds,@Param("userId") Integer userId);
}
